<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>列表</title>
</head>
<body>
<a href="add">添加商品</a>
<table>
		<tr>
				<c:forEach items="${itemsList}" var="s">
				<td >
					<div>
						<img style="width:220px;height:220px" src="${pageContext.request.contextPath }/${s. img}" /><br/>
						  名称：${s. name}<br/>
						介绍：${s. introduction}<br/>
						 价格：${s. price}元
					</div>
				</td>
				</c:forEach>
		</tr>
	</table>
</body>
</html>